package com.tools_s7.mvp;

import android.os.Bundle;

import com.tools.s7.mvp.BaseMActivity;
import com.tools_s7.R;

import java.lang.reflect.Type;

/**
 * MVP 模式
 */
public class PMActivity extends BaseMActivity<PMPresenter> implements PMContract.View {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_p);

        mPresenter.attachView(this);
    }

    @Override
    public void onBackPressed() {
        super.onBackPressed();
        finish();
    }

}
